<?php

/**
 * Created by PhpStorm.
 * User: YUWENXUAN
 * Date: 2017/4/7
 * Time: 16:22
 */
class speed extends people
{
    public function info()
    {
        return $this->getTour();
    }


    protected $bus = 300;
    protected $foot = 30;
    protected $train = 250;
    protected $aircraft = 500;

    /**
     * @return int
     */
    public function getBus(): int
    {
        return $this->bus;
    }

    /**
     * @return int
     */
    public function getFoot(): int
    {
        return $this->foot;
    }

    /**
     * @return int
     */
    public function getTrain(): int
    {
        return $this->train;
    }

    /**
     * @return int
     */
    public function getAircraft(): int
    {
        return $this->aircraft;
    }
}

